
const names: Array<string> = [] // 不推荐(react.jsx有冲突)
const names2: string[] = [] // 推荐 

names.push('123')
// names.push(123)